package com.zilu.digitaltwin.dto.resp;

import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: PersonInfoRespDTO
 * @Description:
 * @Author: 段振宇
 * @Date: 2023/1/7 15:09
 */

@NoArgsConstructor
@Data
public class PersonInfoRespDTO {

    @JsonSetter("person_id")
    private String personId;
    @JsonSetter("name")
    private String name;
    @JsonSetter("sex")
    private String sex;
    @JsonSetter("age")
    private Integer age;
    @JsonSetter("room_id")
    private String roomId;
    @JsonSetter("phonenumber")
    private String phonenumber;
    @JsonSetter("work_address")
    private String workAddress;
    @JsonSetter("special_difficult_sign")
    private Boolean specialDifficultSign;
    @JsonSetter("low_income_sign")
    private Boolean lowIncomeSign;
    @JsonSetter("drug_sign")
    private Boolean drugSign;
    @JsonSetter("correct_sign")
    private Boolean correctSign;
    @JsonSetter("register_residence_type")
    private String registerResidenceType;
    @JsonSetter("political")
    private String political;
    @JsonSetter("health_situation")
    private String healthSituation;
    @JsonSetter("owner_type_no")
    private String ownerTypeNo;

    @JsonGetter("personId")
    public String getPersonId() {
        return personId;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public Integer getAge() {
        return age;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    @JsonGetter("workAddress")
    public String getWorkAddress() {
        return workAddress;
    }

    @JsonGetter("specialDifficultSign")
    public Boolean getSpecialDifficultSign() {
        return specialDifficultSign;
    }

    @JsonGetter("lowIncomeSign")
    public Boolean getLowIncomeSign() {
        return lowIncomeSign;
    }

    @JsonGetter("drugSign")
    public Boolean getDrugSign() {
        return drugSign;
    }

    @JsonGetter("correctSign")
    public Boolean getCorrectSign() {
        return correctSign;
    }

    @JsonGetter("registerResidenceType")
    public String getRegisterResidenceType() {
        return registerResidenceType;
    }

    @JsonGetter("political")
    public String getPolitical() {
        return political;
    }

    @JsonGetter("healthSituation")
    public String getHealthSituation() {
        return healthSituation;
    }

    @JsonGetter("ownerTypeNo")
    public String getOwnerTypeNo() {
        return ownerTypeNo;
    }

    @JsonGetter("roomId")
    public String getRoomId() {
        return roomId;
    }
}
